package com.ruoyi.mdkt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author gwl
 * @since 2022-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Absent implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 教师ID
     */
    private Long teacherUserId;

    /**
     * 学生ID
     */
    private Long studentUserId;

    /**
     * 学生名
     */
    private String studentName;

    /**
     * 课程ID
     */
    private Long courseId;

    /**
     * 0: 不同意 1:同意 2：待确定
     */
    @TableField("Is_allowed")
    private Integer isAllowed;

    /**
     * 请假条图片
     */
    private String url;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer isDeleted;


}
